<{if $catarray.imageheader != ""}> <br />
 <div style="padding-bottom: 12px; text-align: center;"><{$catarray.imageheader}></div>
<{/if}> 
<div style="padding-bottom: 12px; text-align: center;" class="itemPermaLink"><{$catarray.letters}></div>
<div style="padding-bottom: 12px; text-align: center;"><{$catarray.toolbar}></div>

<div align="center">
  <h4><{$smarty.const._MD_WFL_NEWLINKS}></h4>
</div>
<center>
<b><{$smarty.const._MD_WFL_TOTALNEWLINKS}>:</b>
	<{$smarty.const._MD_WFL_LASTWEEK}> - <{$allweeklinks}> \ <{$smarty.const._MD_WFL_LAST30DAYS}> - <{$allmonthlinks}><br />
  <br /><{$smarty.const._MD_WFL_SHOW}>: <a href="<{$xoops_url}>/modules/<{$module_dir}>/newlist.php?newlinkshowdays=7"><{$smarty.const._MD_WFL_1WEEK}></a>
  - <a href="<{$xoops_url}>/modules/<{$module_dir}>/newlist.php?newlinkshowdays=14"><{$smarty.const._MD_WFL_2WEEKS}></a>
  - <a href="<{$xoops_url}>/modules/<{$module_dir}>/newlist.php?newlinkshowdays=30"><{$smarty.const._MD_WFL_30DAYS}></a>
</center>
<p><div align="center"><b><{$smarty.const._MD_WFL_DTOTALFORLAST}> <{$newlinkshowdays}> <{$smarty.const._MD_WFL_DAYS}></b></div></p>

<{if count($dailylinks) gt 0}>
  <!-- Start day loop -->
<{foreach item=dailylink from=$dailylinks}>
<div align="center">
<strong><big>&middot;</big></strong>
      <a href="<{$xoops_url}>/modules/<{$module_dir}>/viewcat.php?selectdate=<{$dailylink.newlinkdayRaw}>"><{$dailylink.newlinkView}></a>&nbsp;(<{$dailylink.totallinks}>)
</div>
<{/foreach}>
<!-- End day loop -->

<h4><{$smarty.const._MD_WFL_LATESTLIST}></h4>
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td width="100%">
  <!-- Start link loop -->
   <{section name=i loop=$link}>
	 <{include file="db:wflinks_linkload.html" link=$link[i]}>
   <{/section}>
  <!-- End link loop -->
</td></tr>
</table>
<{/if}>
